# SPDX-License-Identifier: GPL-2.0
atomisp-objs += \
	atomisp_drvfs.o \
	atomisp_file.o \
	css2400/sh_css_mipi.o \
	css2400/runtime/pipeline/src/pipeline.o \
	css2400/runtime/spctrl/src/spctrl.o \
	css2400/runtime/rmgr/src/rmgr.o \
	css2400/runtime/rmgr/src/rmgr_vbuf.o \
	css2400/runtime/isp_param/src/isp_param.o \
	css2400/runtime/inputfifo/src/inputfifo.o \
	css2400/runtime/queue/src/queue_access.o \
	css2400/runtime/queue/src/queue.o \
	css2400/runtime/frame/src/frame.o \
	css2400/runtime/eventq/src/eventq.o \
	css2400/runtime/binary/src/binary.o \
	css2400/runtime/timer/src/timer.o \
	css2400/runtime/isys/src/csi_rx_rmgr.o \
	css2400/runtime/isys/src/isys_stream2mmio_rmgr.o \
	css2400/runtime/isys/src/virtual_isys.o \
	css2400/runtime/isys/src/rx.o \
	css2400/runtime/isys/src/isys_dma_rmgr.o \
	css2400/runtime/isys/src/ibuf_ctrl_rmgr.o \
	css2400/runtime/isys/src/isys_init.o \
	css2400/runtime/bufq/src/bufq.o \
	css2400/runtime/ifmtr/src/ifmtr.o \
	css2400/runtime/debug/src/ia_css_debug.o \
	css2400/runtime/event/src/event.o \
	css2400/sh_css_sp.o \
	css2400/css_2400_system/spmem_dump.o \
	css2400/css_2400_system/hive_isp_css_2400_system_generated/ia_css_isp_states.o \
	css2400/css_2400_system/hive_isp_css_2400_system_generated/ia_css_isp_configs.o \
	css2400/css_2400_system/hive_isp_css_2400_system_generated/ia_css_isp_params.o \
	css2400/sh_css_stream_format.o \
	css2400/sh_css_hrt.o \
	css2400/sh_css_properties.o \
	css2400/memory_realloc.o \
	css2400/hive_isp_css_shared/host/tag.o \
	css2400/sh_css_params.o \
	css2400/sh_css.o \
	css2400/isp/kernels/hdr/ia_css_hdr.host.o \
	css2400/isp/kernels/ynr/ynr_2/ia_css_ynr2.host.o \
	css2400/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.o \
	css2400/isp/kernels/conversion/conversion_1.0/ia_css_conversion.host.o \
	css2400/isp/kernels/fpn/fpn_1.0/ia_css_fpn.host.o \
	css2400/isp/kernels/tnr/tnr_1.0/ia_css_tnr.host.o \
	css2400/isp/kernels/vf/vf_1.0/ia_css_vf.host.o \
	css2400/isp/kernels/raw/raw_1.0/ia_css_raw.host.o \
	css2400/isp/kernels/ref/ref_1.0/ia_css_ref.host.o \
	css2400/isp/kernels/qplane/qplane_2/ia_css_qplane.host.o \
	css2400/isp/kernels/norm/norm_1.0/ia_css_norm.host.o \
	css2400/isp/kernels/output/output_1.0/ia_css_output.host.o \
	css2400/isp/kernels/raw_aa_binning/raw_aa_binning_1.0/ia_css_raa.host.o \
	css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5_table.host.o \
	css2400/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.o \
	css2400/isp/kernels/macc/macc_1.0/ia_css_macc.host.o \
	css2400/isp/kernels/macc/macc_1.0/ia_css_macc_table.host.o \
	css2400/isp/kernels/csc/csc_1.0/ia_css_csc.host.o \
	css2400/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.o \
	css2400/isp/kernels/bnr/bnr2_2/ia_css_bnr2_2.host.o \
	css2400/isp/kernels/dpc2/ia_css_dpc2.host.o \
	css2400/isp/kernels/dpc2/ia_css_dpc2_default.host.o \
	css2400/isp/kernels/fc/fc_1.0/ia_css_formats.host.o \
	css2400/isp/kernels/ctc/ctc_1.0/ia_css_ctc.host.o \
	css2400/isp/kernels/ctc/ctc_1.0/ia_css_ctc_table.host.o \
	css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.o \
	css2400/isp/kernels/ctc/ctc1_5/ia_css_ctc1_5.host.o \
	css2400/isp/kernels/bh/bh_2/ia_css_bh.host.o \
	css2400/isp/kernels/bnlm/ia_css_bnlm_default.host.o \
	css2400/isp/kernels/bnlm/ia_css_bnlm.host.o \
	css2400/isp/kernels/tdf/tdf_1.0/ia_css_tdf.host.o \
	css2400/isp/kernels/tdf/tdf_1.0/ia_css_tdf_default.host.o \
	css2400/isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.o \
	css2400/isp/kernels/anr/anr_1.0/ia_css_anr.host.o \
	css2400/isp/kernels/anr/anr_2/ia_css_anr2_table.host.o \
	css2400/isp/kernels/anr/anr_2/ia_css_anr2.host.o \
	css2400/isp/kernels/dp/dp_1.0/ia_css_dp.host.o \
	css2400/isp/kernels/sdis/sdis_1.0/ia_css_sdis.host.o \
	css2400/isp/kernels/sdis/sdis_2/ia_css_sdis2.host.o \
	css2400/isp/kernels/cnr/cnr_2/ia_css_cnr2.host.o \
	css2400/isp/kernels/cnr/cnr_1.0/ia_css_cnr.host.o \
	css2400/isp/kernels/xnr/xnr_1.0/ia_css_xnr.host.o \
	css2400/isp/kernels/xnr/xnr_1.0/ia_css_xnr_table.host.o \
	css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.o \
	css2400/isp/kernels/de/de_1.0/ia_css_de.host.o \
	css2400/isp/kernels/de/de_2/ia_css_de2.host.o \
	css2400/isp/kernels/gc/gc_2/ia_css_gc2.host.o \
	css2400/isp/kernels/gc/gc_2/ia_css_gc2_table.host.o \
	css2400/isp/kernels/gc/gc_1.0/ia_css_gc.host.o \
	css2400/isp/kernels/gc/gc_1.0/ia_css_gc_table.host.o \
	css2400/isp/kernels/crop/crop_1.0/ia_css_crop.host.o \
	css2400/isp/kernels/io_ls/bayer_io_ls/ia_css_bayer_io.host.o \
	css2400/isp/kernels/aa/aa_2/ia_css_aa2.host.o \
	css2400/isp/kernels/copy_output/copy_output_1.0/ia_css_copy_output.host.o \
	css2400/isp/kernels/ob/ob_1.0/ia_css_ob.host.o \
	css2400/isp/kernels/ob/ob2/ia_css_ob2.host.o \
	css2400/isp/kernels/iterator/iterator_1.0/ia_css_iterator.host.o \
	css2400/isp/kernels/wb/wb_1.0/ia_css_wb.host.o \
	css2400/isp/kernels/eed1_8/ia_css_eed1_8_default.host.o \
	css2400/isp/kernels/eed1_8/ia_css_eed1_8.host.o \
	css2400/isp/kernels/sc/sc_1.0/ia_css_sc.host.o \
	css2400/isp/kernels/ipu2_io_ls/bayer_io_ls/ia_css_bayer_io.host.o \
	css2400/isp/kernels/ipu2_io_ls/yuv444_io_ls/ia_css_yuv444_io.host.o \
	css2400/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.o \
	css2400/sh_css_pipe.o \
	css2400/ia_css_device_access.o \
	css2400/sh_css_host_data.o \
	css2400/sh_css_mmu.o \
	css2400/sh_css_metadata.o \
	css2400/base/refcount/src/refcount.o \
	css2400/base/circbuf/src/circbuf.o \
	css2400/camera/pipe/src/pipe_binarydesc.o \
	css2400/camera/pipe/src/pipe_util.o \
	css2400/camera/pipe/src/pipe_stagedesc.o \
	css2400/camera/util/src/util.o \
	css2400/sh_css_metrics.o \
	css2400/sh_css_version.o \
	css2400/ia_css_memory_access.o \
	css2400/sh_css_param_shading.o \
	css2400/sh_css_morph.o \
	css2400/sh_css_firmware.o \
	css2400/hive_isp_css_common/host/isp.o \
	css2400/hive_isp_css_common/host/gdc.o \
	css2400/hive_isp_css_common/host/sp.o \
	css2400/hive_isp_css_common/host/vmem.o \
	css2400/hive_isp_css_common/host/dma.o \
	css2400/hive_isp_css_common/host/input_formatter.o \
	css2400/hive_isp_css_common/host/debug.o \
	css2400/hive_isp_css_common/host/hmem.o \
	css2400/hive_isp_css_common/host/gp_device.o \
	css2400/hive_isp_css_common/host/fifo_monitor.o \
	css2400/hive_isp_css_common/host/gp_timer.o \
	css2400/hive_isp_css_common/host/irq.o \
	css2400/hive_isp_css_common/host/input_system.o \
	css2400/hive_isp_css_common/host/timed_ctrl.o \
	css2400/hive_isp_css_common/host/mmu.o \
	css2400/hive_isp_css_common/host/event_fifo.o \
	css2400/sh_css_param_dvs.o \
	css2400/sh_css_shading.o \
	css2400/sh_css_stream.o \
	mmu/sh_mmu_mrfld.o \
	mmu/isp_mmu.o \
	atomisp_acc.o \
	atomisp_compat_css20.o \
	atomisp_fops.o \
	atomisp_subdev.o \
	atomisp_ioctl.o \
	atomisp_compat_ioctl32.o \
	atomisp_csi2.o \
	atomisp_cmd.o \
	atomisp_tpg.o \
	hmm/hmm_vm.o \
	hmm/hmm.o \
	hmm/hmm_bo.o \
	hmm/hmm_reserved_pool.o \
	hmm/hmm_dynamic_pool.o \
	hrt/hive_isp_css_mm_hrt.o \
	atomisp_v4l2.o
	
# These will be needed when clean merge CHT support nicely into the driver
# Keep them here handy for when we get to that point
#

obj-cht= \
	css2400/css_2401_system/spmem_dump.o \
	css2400/css_2401_system/hive_isp_css_2401_system_generated/ia_css_isp_states.o \
	css2400/css_2401_system/hive_isp_css_2401_system_generated/ia_css_isp_configs.o \
	css2400/css_2401_system/hive_isp_css_2401_system_generated/ia_css_isp_params.o \
	css2400/css_2401_csi2p_system/spmem_dump.o \
	css2400/css_2401_csi2p_system/host/isys_stream2mmio.o \
	css2400/css_2401_csi2p_system/host/ibuf_ctrl.o \
	css2400/css_2401_csi2p_system/host/isys_irq.o \
	css2400/css_2401_csi2p_system/host/isys_dma.o \
	css2400/css_2401_csi2p_system/host/csi_rx.o \
	css2400/css_2401_csi2p_system/hive_isp_css_2401_system_csi2p_generated/ia_css_isp_states.o \
	css2400/css_2401_csi2p_system/hive_isp_css_2401_system_csi2p_generated/ia_css_isp_configs.o \
	css2400/css_2401_csi2p_system/hive_isp_css_2401_system_csi2p_generated/ia_css_isp_params.o \

#	-I$(atomisp)/css2400/css_2401_csi2p_system/ \
#	-I$(atomisp)/css2400/css_2401_csi2p_system/hive_isp_css_2401_system_csi2p_generated/ \
#	-I$(atomisp)/css2400/css_2401_csi2p_system/host/ \
#	-I$(atomisp)/css2400/css_2401_csi2p_system/hrt/ \
#	-I$(atomisp)/css2400/css_2401_system/hive_isp_css_2401_system_generated/ \
#	-I$(atomisp)/css2400/css_2401_system/hrt/ \



obj-$(CONFIG_VIDEO_ATOMISP) += atomisp.o

atomisp = $(srctree)/drivers/staging/media/atomisp/pci/atomisp2

INCLUDES += \
	-I$(atomisp)/ \
	-I$(atomisp)/css2400/ \
	-I$(atomisp)/hrt/ \
	-I$(atomisp)/include/ \
	-I$(atomisp)/include/hmm/ \
	-I$(atomisp)/include/mmu/ \
	-I$(atomisp)/css2400/base/circbuf/interface/ \
	-I$(atomisp)/css2400/base/refcount/interface/ \
	-I$(atomisp)/css2400/camera/pipe/interface/ \
	-I$(atomisp)/css2400/camera/util/interface/ \
	-I$(atomisp)/css2400/css_2400_system/ \
	-I$(atomisp)/css2400/css_2400_system/hive_isp_css_2400_system_generated/ \
	-I$(atomisp)/css2400/css_2400_system/hrt/ \
	-I$(atomisp)/css2400/hive_isp_css_common/ \
	-I$(atomisp)/css2400/hive_isp_css_common/host/ \
	-I$(atomisp)/css2400/hive_isp_css_include/ \
	-I$(atomisp)/css2400/hive_isp_css_include/device_access/ \
	-I$(atomisp)/css2400/hive_isp_css_include/host/ \
	-I$(atomisp)/css2400/hive_isp_css_include/memory_access/ \
	-I$(atomisp)/css2400/hive_isp_css_shared/ \
	-I$(atomisp)/css2400/hive_isp_css_shared/host/ \
	-I$(atomisp)/css2400/isp/kernels/ \
	-I$(atomisp)/css2400/isp/kernels/aa/aa_2/ \
	-I$(atomisp)/css2400/isp/kernels/anr/anr_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/anr/anr_2/ \
	-I$(atomisp)/css2400/isp/kernels/bayer_ls/bayer_ls_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/bh/bh_2/ \
	-I$(atomisp)/css2400/isp/kernels/bnlm/ \
	-I$(atomisp)/css2400/isp/kernels/bnr/ \
	-I$(atomisp)/css2400/isp/kernels/bnr/bnr_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/bnr/bnr2_2/ \
	-I$(atomisp)/css2400/isp/kernels/cnr/ \
	-I$(atomisp)/css2400/isp/kernels/cnr/cnr_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/cnr/cnr_2/ \
	-I$(atomisp)/css2400/isp/kernels/conversion/ \
	-I$(atomisp)/css2400/isp/kernels/conversion/conversion_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/copy_output/ \
	-I$(atomisp)/css2400/isp/kernels/copy_output/copy_output_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/crop/ \
	-I$(atomisp)/css2400/isp/kernels/crop/crop_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/csc/ \
	-I$(atomisp)/css2400/isp/kernels/csc/csc_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/ctc/ \
	-I$(atomisp)/css2400/isp/kernels/ctc/ctc_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/ctc/ctc1_5/ \
	-I$(atomisp)/css2400/isp/kernels/ctc/ctc2/ \
	-I$(atomisp)/css2400/isp/kernels/de/ \
	-I$(atomisp)/css2400/isp/kernels/de/de_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/de/de_2/ \
	-I$(atomisp)/css2400/isp/kernels/dpc2/ \
	-I$(atomisp)/css2400/isp/kernels/dp/ \
	-I$(atomisp)/css2400/isp/kernels/dp/dp_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/dvs/ \
	-I$(atomisp)/css2400/isp/kernels/dvs/dvs_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/eed1_8/ \
	-I$(atomisp)/css2400/isp/kernels/fc/ \
	-I$(atomisp)/css2400/isp/kernels/fc/fc_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/fixedbds/ \
	-I$(atomisp)/css2400/isp/kernels/fixedbds/fixedbds_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/fpn/ \
	-I$(atomisp)/css2400/isp/kernels/fpn/fpn_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/gc/ \
	-I$(atomisp)/css2400/isp/kernels/gc/gc_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/gc/gc_2/ \
	-I$(atomisp)/css2400/isp/kernels/hdr/ \
	-I$(atomisp)/css2400/isp/kernels/io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/io_ls/bayer_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/io_ls/common/ \
	-I$(atomisp)/css2400/isp/kernels/io_ls/plane_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/io_ls/yuv420_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/io_ls/yuv444_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/ipu2_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/ipu2_io_ls/bayer_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/ipu2_io_ls/common/ \
	-I$(atomisp)/css2400/isp/kernels/ipu2_io_ls/plane_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/ipu2_io_ls/yuv420_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/ipu2_io_ls/yuv444_io_ls/ \
	-I$(atomisp)/css2400/isp/kernels/iterator/ \
	-I$(atomisp)/css2400/isp/kernels/iterator/iterator_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/macc/ \
	-I$(atomisp)/css2400/isp/kernels/macc/macc_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/macc/macc1_5/ \
	-I$(atomisp)/css2400/isp/kernels/norm/ \
	-I$(atomisp)/css2400/isp/kernels/norm/norm_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/ob/ \
	-I$(atomisp)/css2400/isp/kernels/ob/ob_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/ob/ob2/ \
	-I$(atomisp)/css2400/isp/kernels/output/ \
	-I$(atomisp)/css2400/isp/kernels/output/output_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/qplane/ \
	-I$(atomisp)/css2400/isp/kernels/qplane/qplane_2/ \
	-I$(atomisp)/css2400/isp/kernels/raw_aa_binning/ \
	-I$(atomisp)/css2400/isp/kernels/raw_aa_binning/raw_aa_binning_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/raw/ \
	-I$(atomisp)/css2400/isp/kernels/raw/raw_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/ref/ \
	-I$(atomisp)/css2400/isp/kernels/ref/ref_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/s3a/ \
	-I$(atomisp)/css2400/isp/kernels/s3a/s3a_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/s3a_stat_ls/ \
	-I$(atomisp)/css2400/isp/kernels/scale/ \
	-I$(atomisp)/css2400/isp/kernels/scale/scale_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/sc/ \
	-I$(atomisp)/css2400/isp/kernels/sc/sc_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/sdis/ \
	-I$(atomisp)/css2400/isp/kernels/sdis/common/ \
	-I$(atomisp)/css2400/isp/kernels/sdis/sdis_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/sdis/sdis_2/ \
	-I$(atomisp)/css2400/isp/kernels/tdf/ \
	-I$(atomisp)/css2400/isp/kernels/tdf/tdf_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/tnr/ \
	-I$(atomisp)/css2400/isp/kernels/tnr/tnr_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/tnr/tnr3/ \
	-I$(atomisp)/css2400/isp/kernels/uds/ \
	-I$(atomisp)/css2400/isp/kernels/uds/uds_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/vf/ \
	-I$(atomisp)/css2400/isp/kernels/vf/vf_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/wb/ \
	-I$(atomisp)/css2400/isp/kernels/wb/wb_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/xnr/ \
	-I$(atomisp)/css2400/isp/kernels/xnr/xnr_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/xnr/xnr_3.0/ \
	-I$(atomisp)/css2400/isp/kernels/ynr/ \
	-I$(atomisp)/css2400/isp/kernels/ynr/ynr_1.0/ \
	-I$(atomisp)/css2400/isp/kernels/ynr/ynr_2/ \
	-I$(atomisp)/css2400/isp/kernels/yuv_ls \
	-I$(atomisp)/css2400/isp/kernels/yuv_ls/yuv_ls_1.0/ \
	-I$(atomisp)/css2400/isp/modes/interface/ \
	-I$(atomisp)/css2400/runtime/binary/interface/ \
	-I$(atomisp)/css2400/runtime/bufq/interface/ \
	-I$(atomisp)/css2400/runtime/debug/interface/ \
	-I$(atomisp)/css2400/runtime/event/interface/ \
	-I$(atomisp)/css2400/runtime/eventq/interface/ \
	-I$(atomisp)/css2400/runtime/frame/interface/ \
	-I$(atomisp)/css2400/runtime/ifmtr/interface/ \
	-I$(atomisp)/css2400/runtime/inputfifo/interface/ \
	-I$(atomisp)/css2400/runtime/isp_param/interface/ \
	-I$(atomisp)/css2400/runtime/isys/interface/ \
	-I$(atomisp)/css2400/runtime/isys/src/ \
	-I$(atomisp)/css2400/runtime/pipeline/interface/ \
	-I$(atomisp)/css2400/runtime/queue/interface/ \
	-I$(atomisp)/css2400/runtime/queue/src/ \
	-I$(atomisp)/css2400/runtime/rmgr/interface/ \
	-I$(atomisp)/css2400/runtime/spctrl/interface/ \
	-I$(atomisp)/css2400/runtime/tagger/interface/

ifeq ($(CONFIG_ION),y)
INCLUDES += -I$(srctree)/drivers/staging/android/ion
endif

DEFINES := -DHRT_HW -DHRT_ISP_CSS_CUSTOM_HOST -DHRT_USE_VIR_ADDRS -D__HOST__
#DEFINES += -DUSE_DYNAMIC_BIN
#DEFINES += -DISP_POWER_GATING
#DEFINES += -DUSE_INTERRUPTS
#DEFINES += -DUSE_SSSE3
#DEFINES += -DPUNIT_CAMERA_BUSY
#DEFINES += -DUSE_KMEM_CACHE

DEFINES += -DATOMISP_POSTFIX=\"css2400b0_v21\" -DISP2400B0
DEFINES += -DSYSTEM_hive_isp_css_2400_system -DISP2400

ccflags-y += $(INCLUDES) $(DEFINES) -fno-common

# HACK! While this driver is in bad shape, don't enable several warnings
#       that would be otherwise enabled with W=1
ccflags-y += $(call cc-disable-warning, implicit-fallthrough)
ccflags-y += $(call cc-disable-warning, missing-prototypes)
ccflags-y += $(call cc-disable-warning, missing-declarations)
ccflags-y += $(call cc-disable-warning, suggest-attribute=format)
ccflags-y += $(call cc-disable-warning, unused-const-variable)
ccflags-y += $(call cc-disable-warning, unused-but-set-variable)
